Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODTransform


Invert

The Invert method inverts this transform's matrix.

ODTransform Invert ();
return value
A reference to this transform with its matrix changed to represent the inverse of its original matrix.
DISCUSSION
The inverse of a transform is the mathematical inverse of its matrix. It has the exact opposite geometric effect of the original transform.

OVERRIDING
If you subclass ODTransform to create a nonlinear transform class, you must override this method. Your override method can call its inherited method at any point in your implementation (it does not matter where).

EXCEPTIONS
kODErrOutOfMemory
There is not enough memory to invert the matrix.
kODErrTransformErr
The transform has no inverse. This is not true of most real-world transformations, only for those that perform transformations such as flattening a shape into a single line or point.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help